Class: RakutenWebService::Gora::Plan

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

Defined Under Namespace

Classes: PlanInfo

Instance Attribute Summary

Attributes inherited from Resource

#params

Instance Method Summary collapse

Methods inherited from Resource

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

Constructor Details

This class inherits a constructor from RakutenWebService::Resource

Instance Method Details

#plan_infoObject



18
19
20
# File 'lib/rakuten_web_service/gora/plan.rb', line 18

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