Class: SigepWeb::Models::Receiver

Inherits:
Object
  • Object
show all
Defined in:
lib/sigep_web/models/receiver.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(options = {}) ⇒ Receiver

Returns a new instance of Receiver.

[View source]

12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# File 'lib/sigep_web/models/receiver.rb', line 12

def initialize(options = {})
  @name = options[:name]
  @phone = options[:phone]
  @cellphone = options[:cellphone]
  @email = options[:email]
  @address = options[:address]
  @complement = options[:complement]
  @number = options[:number]
  @neighborhood = options[:neighborhood]
  @city = options[:city]
  @uf = options[:uf]
  @cep = options[:cep]
  @user_postal_code = options[:user_postal_code]
  @cost_center_client = options[:cost_center_client]
  @invoice_number = options[:invoice_number]
  @invoice_serie = options[:invoice_serie]
  @invoice_value = options[:invoice_value]
  @invoice_nature = options[:invoice_nature]
  @description_object = options[:description_object]
  @amount = options[:amount]
end

Instance Attribute Details

#addressObject

Returns the value of attribute address.


6
7
8
# File 'lib/sigep_web/models/receiver.rb', line 6

def address
  @address
end

#amountObject

Returns the value of attribute amount.


6
7
8
# File 'lib/sigep_web/models/receiver.rb', line 6

def amount
  @amount
end

#cellphoneObject

Returns the value of attribute cellphone.


6
7
8
# File 'lib/sigep_web/models/receiver.rb', line 6

def cellphone
  @cellphone
end

#cepObject

Returns the value of attribute cep.


6
7
8
# File 'lib/sigep_web/models/receiver.rb', line 6

def cep
  @cep
end

#cityObject

Returns the value of attribute city.


6
7
8
# File 'lib/sigep_web/models/receiver.rb', line 6

def city
  @city
end

#complementObject

Returns the value of attribute complement.


6
7
8
# File 'lib/sigep_web/models/receiver.rb', line 6

def complement
  @complement
end

#cost_center_clientObject

Returns the value of attribute cost_center_client.


6
7
8
# File 'lib/sigep_web/models/receiver.rb', line 6

def cost_center_client
  @cost_center_client
end

#description_objectObject

Returns the value of attribute description_object.


6
7
8
# File 'lib/sigep_web/models/receiver.rb', line 6

def description_object
  @description_object
end

#emailObject

Returns the value of attribute email.


6
7
8
# File 'lib/sigep_web/models/receiver.rb', line 6

def email
  @email
end

#invoice_natureObject

Returns the value of attribute invoice_nature.


6
7
8
# File 'lib/sigep_web/models/receiver.rb', line 6

def invoice_nature
  @invoice_nature
end

#invoice_numberObject

Returns the value of attribute invoice_number.


6
7
8
# File 'lib/sigep_web/models/receiver.rb', line 6

def invoice_number
  @invoice_number
end

#invoice_serieObject

Returns the value of attribute invoice_serie.


6
7
8
# File 'lib/sigep_web/models/receiver.rb', line 6

def invoice_serie
  @invoice_serie
end

#invoice_valueObject

Returns the value of attribute invoice_value.


6
7
8
# File 'lib/sigep_web/models/receiver.rb', line 6

def invoice_value
  @invoice_value
end

#nameObject

Returns the value of attribute name.


6
7
8
# File 'lib/sigep_web/models/receiver.rb', line 6

def name
  @name
end

#neighborhoodObject

Returns the value of attribute neighborhood.


6
7
8
# File 'lib/sigep_web/models/receiver.rb', line 6

def neighborhood
  @neighborhood
end

#numberObject

Returns the value of attribute number.


6
7
8
# File 'lib/sigep_web/models/receiver.rb', line 6

def number
  @number
end

#phoneObject

Returns the value of attribute phone.


6
7
8
# File 'lib/sigep_web/models/receiver.rb', line 6

def phone
  @phone
end

#ufObject

Returns the value of attribute uf.


6
7
8
# File 'lib/sigep_web/models/receiver.rb', line 6

def uf
  @uf
end

#user_postal_codeObject

Returns the value of attribute user_postal_code.


6
7
8
# File 'lib/sigep_web/models/receiver.rb', line 6

def user_postal_code
  @user_postal_code
end