Class: Callback::API::Base

Inherits:
Object
  • Object
show all
Includes:
Parser
Defined in:
lib/callback/api/base.rb

Direct Known Subclasses

Jobs

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Parser

#parse

Constructor Details

#initialize(access_token: nil, base_path: nil) ⇒ Base

Returns a new instance of Base.



11
12
13
14
# File 'lib/callback/api/base.rb', line 11

def initialize(access_token: nil, base_path: nil)
  @access_token = access_token
  @base_path = base_path
end

Instance Attribute Details

#access_tokenObject

Returns the value of attribute access_token.



9
10
11
# File 'lib/callback/api/base.rb', line 9

def access_token
  @access_token
end

#base_pathObject

Returns the value of attribute base_path.



9
10
11
# File 'lib/callback/api/base.rb', line 9

def base_path
  @base_path
end