Class: TaxCloud::GetTICsResponse

Inherits:
ResponseBase show all
Defined in:
lib/response/get_ti_cs_response.rb

Instance Attribute Summary collapse

Attributes inherited from ResponseBase

#messages, #response_type

Instance Method Summary collapse

Constructor Details

#initialize(attrs = {}) ⇒ GetTICsResponse

Returns a new instance of GetTICsResponse.



7
8
9
10
11
12
# File 'lib/response/get_ti_cs_response.rb', line 7

def initialize(attrs = {})
  attrs.each do |sym, val|
    self.send "#{sym}=", val
  end
  super
end

Instance Attribute Details

#ti_csObject

Returns the value of attribute ti_cs.



5
6
7
# File 'lib/response/get_ti_cs_response.rb', line 5

def ti_cs
  @ti_cs
end

Instance Method Details

#get_tic(index) ⇒ Object



14
15
16
# File 'lib/response/get_ti_cs_response.rb', line 14

def get_tic(index)
  tic = TaxCloud::TIC.new(ti_cs.first.first)
end