Class: EasyLabs::Resources::Base Private

Inherits:
Object
  • Object
show all
Defined in:
lib/easylabs/resources/base.rb

Overview

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Base class every resource inherits from. Holds a reference to the client’s HTTP wrapper and exposes a thin ‘request` helper.

Instance Method Summary collapse

Constructor Details

#initialize(http) ⇒ Base

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of Base.



10
11
12
# File 'lib/easylabs/resources/base.rb', line 10

def initialize(http)
  @http = http
end