Class: OptimizePlayer::Proxies::ProjectProxy

Inherits:
BaseProxy
  • Object
show all
Defined in:
lib/optimize_player/proxies/project_proxy.rb

Instance Attribute Summary

Attributes inherited from BaseProxy

#client

Instance Method Summary collapse

Methods inherited from BaseProxy

#all, #create, #find, #initialize, #inspect

Constructor Details

This class inherits a constructor from OptimizePlayer::Proxies::BaseProxy

Instance Method Details

#entity_nameObject



9
10
11
# File 'lib/optimize_player/proxies/project_proxy.rb', line 9

def entity_name
  'projects'
end

#move(attrs) ⇒ Object



4
5
6
7
# File 'lib/optimize_player/proxies/project_proxy.rb', line 4

def move(attrs)
  client.send_request("projects/move", :post, attrs)
  true
end