Sha256: 35bb5dabf14693d9bfe8de1bad2a5bdee30700d72143c69984498968e172640b
Contents?: true
Size: 605 Bytes
Versions: 5
Compression:
Stored size: 605 Bytes
Contents
# frozen_string_literal: true 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| new(item) } end attribute :golfCourseId, :golfCourseName, :golfCourseAbbr, :golfCourseNameKana, :golfCourseCaption, :address, :latitude, :longitude, :highway, :golfCourseDetailUrl, :reserveCalUrl, :ratingUrl, :golfCourseImageUrl, :evaluation end end end
Version data entries
5 entries across 5 versions & 1 rubygems