Sha256: 5a363ebd1b7081f6082d51b8d1f5f3b2f38f435390ef53465465430291e7f6ca

Contents?: true

Size: 363 Bytes

Versions: 10

Compression:

Stored size: 363 Bytes

Contents

require 'kintone/command'

class Kintone::Command::Apis < Kintone::Command
  def self.path
    'apis'
  end

  def get
    @api.get(@url)
  end

  def get_details_of(link)
    url = Kintone::Api::BASE_PATH + link
    @api.get(url)
  end

  def get_details_of_key(key)
    response = get
    link = response['apis'][key]['link']
    get_details_of(link)
  end
end

Version data entries

10 entries across 10 versions & 3 rubygems

Version Path
kintone_rb-1.0.1 lib/kintone/command/apis.rb
kintone_rb-1.0.0 lib/kintone/command/apis.rb
kintone-oauth-extension-0.2.2 lib/kintone/command/apis.rb
kintone-oauth-extension-0.2.1 lib/kintone/command/apis.rb
kintone-0.1.5 lib/kintone/command/apis.rb
kintone-0.1.4 lib/kintone/command/apis.rb
kintone-0.1.3 lib/kintone/command/apis.rb
kintone-0.1.2 lib/kintone/command/apis.rb
kintone-0.1.1 lib/kintone/command/apis.rb
kintone-0.1.0 lib/kintone/command/apis.rb