msimonborg/pyr

View on GitHub
lib/pyr/resources/zctas.rb

Summary

Maintainability
A
0 mins
Test Coverage
# frozen_string_literal: true

module PYR
  class Resource
    # Resource object for sending requests to the /zctas resource of the API
    class Zctas < Resource
      # Read the reps param value
      attr_reader :reps

      # Set the 'reps' param value
      def reps=(boolean)
        @reps = Param.new(:reps, boolean)
        params << @reps
      end
    end
  end
end