Class: RakutenWebService::Gora::Plan

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

Defined Under Namespace

Classes: PlanInfo

Instance Method Summary collapse

Methods inherited from Resource

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

Constructor Details

This class inherits a constructor from RakutenWebService::Resource

Instance Method Details

#plan_infoObject



16
17
18
# File 'lib/rakuten_web_service/gora/plan.rb', line 16

def plan_info
  get_attribute('planInfo').map {|plan| PlanInfo.new(plan['plan'])}
end