Sha256: a28ff4f8abebd0e06a716084e0064d1a9bf4c8c05879f14d436774ee2c88ae08
Contents?: true
Size: 579 Bytes
Versions: 1
Compression:
Stored size: 579 Bytes
Contents
require 'rakuten_web_service/resource' module RakutenWebService module Gora class Course < Resource endpoint 'https://app.rakuten.co.jp/services/api/Gora/GoraGolfCourseSearch/20170623' set_parser do |response| response['Items'].map { |item| self.new(item) } end attribute :golfCourseId, :golfCourseName, :golfCourseAbbr, :golfCourseNameKana, :golfCourseCaption, :address, :latitude, :longitude, :highway, :golfCourseDetailUrl, :reserveCalUrl, :ratingUrl, :golfCourseImageUrl, :evaluation end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
rakuten_web_service-1.9.0 | lib/rakuten_web_service/gora/course.rb |