Class: TaxCloud::TIC
- Inherits:
-
Object
- Object
- TaxCloud::TIC
- Defined in:
- lib/tic.rb
Instance Attribute Summary collapse
-
#description ⇒ Object
Returns the value of attribute description.
-
#tic ⇒ Object
Returns the value of attribute tic.
-
#tic_id ⇒ Object
Returns the value of attribute tic_id.
Instance Method Summary collapse
-
#initialize(tic) ⇒ TIC
constructor
A new instance of TIC.
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
#description ⇒ Object
Returns the value of attribute description.
3 4 5 |
# File 'lib/tic.rb', line 3 def description @description end |
#tic ⇒ Object
Returns the value of attribute tic.
3 4 5 |
# File 'lib/tic.rb', line 3 def tic @tic end |
#tic_id ⇒ Object
Returns the value of attribute tic_id.
3 4 5 |
# File 'lib/tic.rb', line 3 def tic_id @tic_id end |