Class: CorreiosSigep::Models::Sender
- Inherits:
-
Object
- Object
- CorreiosSigep::Models::Sender
- Defined in:
- lib/correios_sigep/models/sender.rb
Instance Attribute Summary collapse
-
#address ⇒ Object
Returns the value of attribute address.
-
#area_code ⇒ Object
Returns the value of attribute area_code.
-
#city ⇒ Object
Returns the value of attribute city.
-
#complement ⇒ Object
Returns the value of attribute complement.
-
#email ⇒ Object
Returns the value of attribute email.
-
#identification ⇒ Object
Returns the value of attribute identification.
-
#mobile_area_code ⇒ Object
Returns the value of attribute mobile_area_code.
-
#mobile_phone ⇒ Object
Returns the value of attribute mobile_phone.
-
#name ⇒ Object
Returns the value of attribute name.
-
#neighborhood ⇒ Object
Returns the value of attribute neighborhood.
-
#number ⇒ Object
Returns the value of attribute number.
-
#phone ⇒ Object
Returns the value of attribute phone.
-
#postal_code ⇒ Object
Returns the value of attribute postal_code.
-
#reference ⇒ Object
Returns the value of attribute reference.
-
#sms ⇒ Object
Returns the value of attribute sms.
-
#state ⇒ Object
Returns the value of attribute state.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(options = {}) ⇒ Sender
constructor
A new instance of Sender.
Constructor Details
#initialize(options = {}) ⇒ Sender
Returns a new instance of Sender.
15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 |
# File 'lib/correios_sigep/models/sender.rb', line 15 def initialize(={}) @area_code = [:area_code] @address = [:address] @city = [:city] @complement = [:complement] @email = [:email] @identification = [:identification] @mobile_area_code = [:mobile_area_code] @mobile_phone = [:mobile_phone] @name = [:name] @neighborhood = [:neighborhood] @number = [:number] @phone = [:phone] @postal_code = [:postal_code] @reference = [:reference] @sms = [:sms] @state = [:state] end |
Instance Attribute Details
#address ⇒ Object
Returns the value of attribute address.
4 5 6 |
# File 'lib/correios_sigep/models/sender.rb', line 4 def address @address end |
#area_code ⇒ Object
Returns the value of attribute area_code.
4 5 6 |
# File 'lib/correios_sigep/models/sender.rb', line 4 def area_code @area_code end |
#city ⇒ Object
Returns the value of attribute city.
4 5 6 |
# File 'lib/correios_sigep/models/sender.rb', line 4 def city @city end |
#complement ⇒ Object
Returns the value of attribute complement.
4 5 6 |
# File 'lib/correios_sigep/models/sender.rb', line 4 def complement @complement end |
#email ⇒ Object
Returns the value of attribute email.
4 5 6 |
# File 'lib/correios_sigep/models/sender.rb', line 4 def email @email end |
#identification ⇒ Object
Returns the value of attribute identification.
4 5 6 |
# File 'lib/correios_sigep/models/sender.rb', line 4 def identification @identification end |
#mobile_area_code ⇒ Object
Returns the value of attribute mobile_area_code.
4 5 6 |
# File 'lib/correios_sigep/models/sender.rb', line 4 def mobile_area_code @mobile_area_code end |
#mobile_phone ⇒ Object
Returns the value of attribute mobile_phone.
4 5 6 |
# File 'lib/correios_sigep/models/sender.rb', line 4 def mobile_phone @mobile_phone end |
#name ⇒ Object
Returns the value of attribute name.
4 5 6 |
# File 'lib/correios_sigep/models/sender.rb', line 4 def name @name end |
#neighborhood ⇒ Object
Returns the value of attribute neighborhood.
4 5 6 |
# File 'lib/correios_sigep/models/sender.rb', line 4 def neighborhood @neighborhood end |
#number ⇒ Object
Returns the value of attribute number.
4 5 6 |
# File 'lib/correios_sigep/models/sender.rb', line 4 def number @number end |
#phone ⇒ Object
Returns the value of attribute phone.
4 5 6 |
# File 'lib/correios_sigep/models/sender.rb', line 4 def phone @phone end |
#postal_code ⇒ Object
Returns the value of attribute postal_code.
4 5 6 |
# File 'lib/correios_sigep/models/sender.rb', line 4 def postal_code @postal_code end |
#reference ⇒ Object
Returns the value of attribute reference.
4 5 6 |
# File 'lib/correios_sigep/models/sender.rb', line 4 def reference @reference end |
#sms ⇒ Object
Returns the value of attribute sms.
4 5 6 |
# File 'lib/correios_sigep/models/sender.rb', line 4 def sms @sms end |
#state ⇒ Object
Returns the value of attribute state.
4 5 6 |
# File 'lib/correios_sigep/models/sender.rb', line 4 def state @state end |