Module: Request

Defined in:
lib/request.rb,
lib/request/base.rb,
lib/request/version.rb,
lib/request/autoloader.rb,
lib/request/resources/auth.rb,
lib/request/resources/error.rb,
lib/request/resources/client.rb,
lib/request/resources/response.rb

Defined Under Namespace

Modules: Auth Classes: Autoloader, Base, Client, Error, Response

Constant Summary collapse

NAME =
'Request Ruby'
VERSION =
'0.0.3'

Class Method Summary collapse

Class Method Details

.app_info=(value) ⇒ Object



11
12
13
# File 'lib/request.rb', line 11

def app_info=(value)
  ::Request::Base.app_info = value
end

.pingObject



15
16
17
# File 'lib/request.rb', line 15

def ping
  { status: 200 }
end

.versionObject



19
20
21
# File 'lib/request.rb', line 19

def version
  VERSION
end