Class: Tinybucket::Model::Project

Inherits:
Base
  • Object
show all
Defined in:
lib/tinybucket/model/project.rb

Instance Method Summary collapse

Methods inherited from Base

#attributes, #attributes=, concern_included?, #initialize

Constructor Details

This class inherits a constructor from Tinybucket::Model::Base

Instance Method Details

#destroyObject

Destroy this project

Raises:

  • (NotImplementedError)

    to be implemented.


21
22
23
# File 'lib/tinybucket/model/project.rb', line 21

def destroy
  raise NotImplementedError
end

#reposTinybucket::Resource::Repos

Get repositories


28
29
30
# File 'lib/tinybucket/model/project.rb', line 28

def repos
  repos_resource
end

#update(_params) ⇒ Object

Update this project

Parameters:

  • _params (Hash)

Raises:

  • (NotImplementedError)

    to be implemented


14
15
16
# File 'lib/tinybucket/model/project.rb', line 14

def update(_params)
  raise NotImplementedError
end