Class: PYR::State
- Inherits:
-
ResponseObject
- Object
- LazyRecord::Base
- ResponseObject
- PYR::State
- Defined in:
- lib/pyr/response_objects/state.rb
Overview
The State is the response object that carries the data for a single US State.
Instance Attribute Summary collapse
-
#abbr ⇒ Object
Returns the value of attribute abbr.
-
#name ⇒ Object
Returns the value of attribute name.
-
#self ⇒ Object
Returns the value of attribute self.
-
#state_code ⇒ Object
Returns the value of attribute state_code.
Method Summary
Methods inherited from ResponseObject
#call, #controller, #initialize
Constructor Details
This class inherits a constructor from PYR::ResponseObject
Instance Attribute Details
#abbr ⇒ Object
Returns the value of attribute abbr.
7 8 9 |
# File 'lib/pyr/response_objects/state.rb', line 7 def abbr @abbr end |
#name ⇒ Object
Returns the value of attribute name.
7 8 9 |
# File 'lib/pyr/response_objects/state.rb', line 7 def name @name end |
#self ⇒ Object
Returns the value of attribute self.
7 8 9 |
# File 'lib/pyr/response_objects/state.rb', line 7 def self @self end |
#state_code ⇒ Object
Returns the value of attribute state_code.
7 8 9 |
# File 'lib/pyr/response_objects/state.rb', line 7 def state_code @state_code end |