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

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

Defined Under Namespace

Classes: CallInfo

Instance Attribute Summary

Attributes inherited from Resource

#params

Class Method Summary collapse

Instance Method Summary collapse

Methods inherited from Resource

#==, #[], all, attribute, #attributes, endpoint, #get_attribute, inherited, #initialize, parser, subclasses

Constructor Details

This class inherits a constructor from RakutenWebService::Resource

Class Method Details

.search(_options) ⇒ Object


24
25
26
# File 'lib/rakuten_web_service/gora/plan.rb', line 24

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

Instance Method Details

#call_infoObject


34
35
36
# File 'lib/rakuten_web_service/gora/plan.rb', line 34

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