class Cotoha::Client

Constants

BASE_URL

Public Class Methods

new(url: nil, client_id: nil, client_secret: nil, token: nil) click to toggle source
# File lib/cotoha/client.rb, line 10
def initialize(url: nil, client_id: nil, client_secret: nil, token: nil)
  @url = url || BASE_URL
  @client_id = client_id
  @client_secret = client_secret
  @token = token
end