Class: GrooveHQ::Relation

Inherits:
Struct
  • Object
show all
Defined in:
lib/groovehq/relation.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#clientObject

Returns the value of attribute client

Returns:

  • (Object)

    the current value of client



3
4
5
# File 'lib/groovehq/relation.rb', line 3

def client
  @client
end

#hrefObject

Returns the value of attribute href

Returns:

  • (Object)

    the current value of href



3
4
5
# File 'lib/groovehq/relation.rb', line 3

def href
  @href
end

Instance Method Details

#get(options = {}) ⇒ Object



5
6
7
# File 'lib/groovehq/relation.rb', line 5

def get(options = {})
  client.get href, options
end