Skip to content

Latest commit

 

History

History
53 lines (35 loc) · 981 Bytes

GiftApi.md

File metadata and controls

53 lines (35 loc) · 981 Bytes

ColorMeShop::GiftApi

All URIs are relative to https://api.shop-pro.jp

Method HTTP request Description
get_gift GET /v1/gift.json ギフト設定を取得

get_gift

Object get_gift

ギフト設定を取得

Example

# load the gem
require 'color_me_shop'
# setup authorization
ColorMeShop.configure do |config|
  # Configure OAuth2 access token for authorization: OAuth2
  config.access_token = 'YOUR ACCESS TOKEN'
end

api_instance = ColorMeShop::GiftApi.new

begin
  #ギフト設定を取得
  result = api_instance.get_gift
  p result
rescue ColorMeShop::ApiError => e
  puts "Exception when calling GiftApi->get_gift: #{e}"
end

Parameters

This endpoint does not need any parameter.

Return type

Object

Authorization

OAuth2

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json