Class: Qrfy::Resources::Base

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

Overview

# Base Qrfy Resource

Implements a structure for specific REST qrfy resources and encapsulate API calls implementation.

Direct Known Subclasses

Folders, Qrs

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(client) ⇒ Base

Returns a new instance of Base.



13
14
15
# File 'lib/qrfy/resources/base.rb', line 13

def initialize(client)
  @client = client
end

Instance Attribute Details

#clientObject (readonly)

Returns the value of attribute client.



11
12
13
# File 'lib/qrfy/resources/base.rb', line 11

def client
  @client
end