Class: Ryext::Client

Inherits:
Object
  • Object
show all
Defined in:
lib/ryext/client.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(account) ⇒ Client

Returns a new instance of Client.



5
6
7
# File 'lib/ryext/client.rb', line 5

def initialize()
  @account = 
end

Instance Attribute Details

#accountObject

Returns the value of attribute account.



3
4
5
# File 'lib/ryext/client.rb', line 3

def 
  @account
end

Instance Method Details

#get(*args) ⇒ Object



9
10
11
# File 'lib/ryext/client.rb', line 9

def get(*args)
  RestClient.get(*args)
end

#post(*_args) ⇒ Object

Raises:

  • (NotImplementedError)


13
14
15
# File 'lib/ryext/client.rb', line 13

def post(*_args)
  raise NotImplementedError
end