class Kintone::Api::Guest
Constants
- ACCESSIBLE_COMMAND
- GUEST_PATH
Public Class Methods
new(space_id, api)
click to toggle source
# File lib/kintone/api/guest.rb, line 19 def initialize(space_id, api) @api = api @guest_path = GUEST_PATH % space_id.to_i end
Public Instance Methods
get_url(command)
click to toggle source
# File lib/kintone/api/guest.rb, line 24 def get_url(command) @guest_path + (COMMAND % command) end
method_missing(name, *args)
click to toggle source
Calls superclass method
# File lib/kintone/api/guest.rb, line 28 def method_missing(name, *args) if ACCESSIBLE_COMMAND.include?(name) CommandAccessor.send(name, self) else super end end
respond_to_missing?(name, *args)
click to toggle source
Calls superclass method
# File lib/kintone/api/guest.rb, line 36 def respond_to_missing?(name, *args) ACCESSIBLE_COMMAND.include?(name) || super end