Class: PYR::State

Inherits:
ResponseObject show all
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

Method Summary

Methods inherited from ResponseObject

#call, #controller, #initialize

Constructor Details

This class inherits a constructor from PYR::ResponseObject

Instance Attribute Details

#abbrObject

Returns the value of attribute abbr.



7
8
9
# File 'lib/pyr/response_objects/state.rb', line 7

def abbr
  @abbr
end

#nameObject

Returns the value of attribute name.



7
8
9
# File 'lib/pyr/response_objects/state.rb', line 7

def name
  @name
end

#selfObject

Returns the value of attribute self.



7
8
9
# File 'lib/pyr/response_objects/state.rb', line 7

def self
  @self
end

#state_codeObject

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