Class: RakutenWebService::Gora::Plan::PlanInfo

Inherits:
Resource
  • Object
show all
Defined in:
lib/rakuten_web_service/gora/plan.rb

Defined Under Namespace

Classes: CallInfo

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Resource

#[], all, attribute, client, endpoint, #get_attribute, #initialize, resource_name, set_parser, set_resource_name

Constructor Details

This class inherits a constructor from RakutenWebService::Resource

Class Method Details

.search(options) ⇒ Object



22
23
24
# File 'lib/rakuten_web_service/gora/plan.rb', line 22

def search(options)
  raise 'There is no API endpoint for this resource.'
end

Instance Method Details

#call_infoObject



32
33
34
# File 'lib/rakuten_web_service/gora/plan.rb', line 32

def call_info
  CallInfo.new(get_attribute('callInfo'))
end