Class: RakutenWebService::Gora::CourseDetail
- Defined in:
- lib/rakuten_web_service/gora/course_detail.rb
Defined Under Namespace
Class Method Summary collapse
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
Class Method Details
.find(golf_course_id) ⇒ Object
7 8 9 |
# File 'lib/rakuten_web_service/gora/course_detail.rb', line 7 def find(golf_course_id) search({golfCourseId: golf_course_id}).first end |