Class: TaxCloud::TIC

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(tic) ⇒ TIC

Returns a new instance of TIC.



5
6
7
8
9
10
# File 'lib/tic.rb', line 5

def initialize(tic)
  puts 'initialize: ' + tic.to_s
  self.tic = tic
  self.tic_id = tic['ticid']
  self.description = tic['description']
end

Instance Attribute Details

#descriptionObject

Returns the value of attribute description.



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

def description
  @description
end

#ticObject

Returns the value of attribute tic.



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

def tic
  @tic
end

#tic_idObject

Returns the value of attribute tic_id.



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

def tic_id
  @tic_id
end