Class: Correios::Credentials

Inherits:
Object
  • Object
show all
Defined in:
lib/credentials.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeCredentials

Returns a new instance of Credentials.



14
15
16
17
18
19
20
21
22
23
24
25
# File 'lib/credentials.rb', line 14

def initialize
  self.sigep_user =                 sigep_user
  self.sigep_password =             sigep_password
  self.administrative_code =        administrative_code
  self.contract =                   contract
  self.card =                       card
  self.cnpj =                       cnpj
  self.reverse_logistics_user =     reverse_logistics_user
  self.reverse_logistics_password = reverse_logistics_password
  self.sro_user =                   sro_user
  self.sro_password =               sro_password
end

Instance Attribute Details

#administrative_codeObject

Returns the value of attribute administrative_code.



3
4
5
# File 'lib/credentials.rb', line 3

def administrative_code
  @administrative_code
end

#cardObject

Returns the value of attribute card.



3
4
5
# File 'lib/credentials.rb', line 3

def card
  @card
end

#cnpjObject

Returns the value of attribute cnpj.



3
4
5
# File 'lib/credentials.rb', line 3

def cnpj
  @cnpj
end

#contractObject

Returns the value of attribute contract.



3
4
5
# File 'lib/credentials.rb', line 3

def contract
  @contract
end

#reverse_logistics_passwordObject

Returns the value of attribute reverse_logistics_password.



3
4
5
# File 'lib/credentials.rb', line 3

def reverse_logistics_password
  @reverse_logistics_password
end

#reverse_logistics_userObject

Returns the value of attribute reverse_logistics_user.



3
4
5
# File 'lib/credentials.rb', line 3

def reverse_logistics_user
  @reverse_logistics_user
end

#sigep_passwordObject

Returns the value of attribute sigep_password.



3
4
5
# File 'lib/credentials.rb', line 3

def sigep_password
  @sigep_password
end

#sigep_userObject

Returns the value of attribute sigep_user.



3
4
5
# File 'lib/credentials.rb', line 3

def sigep_user
  @sigep_user
end

#sro_passwordObject

Returns the value of attribute sro_password.



3
4
5
# File 'lib/credentials.rb', line 3

def sro_password
  @sro_password
end

#sro_userObject

Returns the value of attribute sro_user.



3
4
5
# File 'lib/credentials.rb', line 3

def sro_user
  @sro_user
end