Class: Exa::Resources::Base

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(client:) ⇒ Base

Returns a new instance of Base.



8
9
10
# File 'lib/exa/resources/base.rb', line 8

def initialize(client:)
  @client = client
end

Instance Attribute Details

#clientObject (readonly)

Returns the value of attribute client.



6
7
8
# File 'lib/exa/resources/base.rb', line 6

def client
  @client
end