Class: ACTV::Address

Inherits:
Base
  • Object
show all
Defined in:
lib/actv/address.rb

Instance Attribute Summary collapse

Attributes inherited from Base

#attrs

Method Summary

Methods inherited from Base

#[], attr_reader, define_attribute_method, define_predicate_method, define_uri_method, #delete, from_response, #initialize, #memoize, #method_missing, object_attr_reader, #respond_to?, #to_hash, #update, uri_attr_reader

Constructor Details

This class inherits a constructor from ACTV::Base

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class ACTV::Base

Instance Attribute Details

#cityObject (readonly)

Returns the value of attribute city.



6
7
8
# File 'lib/actv/address.rb', line 6

def city
  @city
end

#country_codeObject (readonly)

Returns the value of attribute country_code.



6
7
8
# File 'lib/actv/address.rb', line 6

def country_code
  @country_code
end

#idObject (readonly)

Returns the value of attribute id.



6
7
8
# File 'lib/actv/address.rb', line 6

def id
  @id
end

#line1Object (readonly)

Returns the value of attribute line1.



6
7
8
# File 'lib/actv/address.rb', line 6

def line1
  @line1
end

#line2Object (readonly)

Returns the value of attribute line2.



6
7
8
# File 'lib/actv/address.rb', line 6

def line2
  @line2
end

#postal_codeObject (readonly)

Returns the value of attribute postal_code.



6
7
8
# File 'lib/actv/address.rb', line 6

def postal_code
  @postal_code
end

#provinceObject (readonly)

Returns the value of attribute province.



6
7
8
# File 'lib/actv/address.rb', line 6

def province
  @province
end