module YouCanBookMe::Client::Caligraph

Public Instance Methods

api_key() click to toggle source
# File lib/YouCanBookMe/client/caligraph.rb, line 10
def api_key
  params = {
    fields: 'apiKey'
  }
  get('/', params).parse['apiKey']
end
set_api_key() click to toggle source
# File lib/YouCanBookMe/client/caligraph.rb, line 17
def set_api_key
  YouCanBookMe.instance_variable_set(:@password, api_key)
end