Class: CorreiosSigep::Configuration
- Inherits:
-
Object
- Object
- CorreiosSigep::Configuration
- Defined in:
- lib/correios_sigep/configuration.rb
Instance Attribute Summary collapse
-
#administrative_code ⇒ Object
Returns the value of attribute administrative_code.
-
#card ⇒ Object
Returns the value of attribute card.
-
#development ⇒ Object
Returns the value of attribute development.
-
#password ⇒ Object
Returns the value of attribute password.
-
#proxy ⇒ Object
Returns the value of attribute proxy.
-
#service_code ⇒ Object
Returns the value of attribute service_code.
-
#timeout ⇒ Object
Returns the value of attribute timeout.
-
#user ⇒ Object
Returns the value of attribute user.
-
#wsdl_base_url ⇒ Object
Returns the value of attribute wsdl_base_url.
Instance Method Summary collapse
Instance Attribute Details
#administrative_code ⇒ Object
Returns the value of attribute administrative_code.
3 4 5 |
# File 'lib/correios_sigep/configuration.rb', line 3 def administrative_code @administrative_code end |
#card ⇒ Object
Returns the value of attribute card.
3 4 5 |
# File 'lib/correios_sigep/configuration.rb', line 3 def card @card end |
#development ⇒ Object
Returns the value of attribute development.
3 4 5 |
# File 'lib/correios_sigep/configuration.rb', line 3 def development @development end |
#password ⇒ Object
Returns the value of attribute password.
3 4 5 |
# File 'lib/correios_sigep/configuration.rb', line 3 def password @password end |
#proxy ⇒ Object
Returns the value of attribute proxy.
3 4 5 |
# File 'lib/correios_sigep/configuration.rb', line 3 def proxy @proxy end |
#service_code ⇒ Object
Returns the value of attribute service_code.
3 4 5 |
# File 'lib/correios_sigep/configuration.rb', line 3 def service_code @service_code end |
#timeout ⇒ Object
Returns the value of attribute timeout.
3 4 5 |
# File 'lib/correios_sigep/configuration.rb', line 3 def timeout @timeout end |
#user ⇒ Object
Returns the value of attribute user.
3 4 5 |
# File 'lib/correios_sigep/configuration.rb', line 3 def user @user end |
#wsdl_base_url ⇒ Object
Returns the value of attribute wsdl_base_url.
3 4 5 |
# File 'lib/correios_sigep/configuration.rb', line 3 def wsdl_base_url @wsdl_base_url end |
Instance Method Details
#administrative_fields ⇒ Object
6 7 8 9 10 11 12 |
# File 'lib/correios_sigep/configuration.rb', line 6 def administrative_fields @administrative_fields ||= Models::AdministrativeFields.new(administrative_code: administrative_code, card: card, service_code: service_code) end |
#development? ⇒ Boolean
14 15 16 |
# File 'lib/correios_sigep/configuration.rb', line 14 def development? @development end |