Class: PYR::Resource::Reps

Inherits:
PYR::Resource show all
Defined in:
lib/pyr/resources/reps.rb

Overview

Resource object for sending requests to the /reps resource of the API

Instance Attribute Summary collapse

Attributes inherited from PYR::Resource

#controller, #id

Method Summary

Methods inherited from PYR::Resource

#initialize, #params, #to_s

Constructor Details

This class inherits a constructor from PYR::Resource

Instance Attribute Details

#addressObject

Read the address param



12
13
14
# File 'lib/pyr/resources/reps.rb', line 12

def address
  @address
end

#generateObject

Read the generate param



14
15
16
# File 'lib/pyr/resources/reps.rb', line 14

def generate
  @generate
end

#latObject

Read the lat param



8
9
10
# File 'lib/pyr/resources/reps.rb', line 8

def lat
  @lat
end

#longObject

Read the long param



10
11
12
# File 'lib/pyr/resources/reps.rb', line 10

def long
  @long
end