Class: Paybase::Relation

Inherits:
Struct
  • Object
show all
Defined in:
lib/paybase/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



2
3
4
# File 'lib/paybase/relation.rb', line 2

def client
  @client
end

#hrefObject

Returns the value of attribute href

Returns:

  • (Object)

    the current value of href



2
3
4
# File 'lib/paybase/relation.rb', line 2

def href
  @href
end

Instance Method Details

#get(options = {}) ⇒ Object



4
5
6
# File 'lib/paybase/relation.rb', line 4

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