Class: Octopi::FileObject
- Octopi::Base
- Octopi::FileObject
Included Modules
Attributes
Instance Attributes
mode | [RW] | public |
Sets the attribute mode. |
---|---|---|---|
name | [RW] | public |
Sets the attribute name. |
sha | [RW] | public |
Sets the attribute sha. |
type | [RW] | public |
Sets the attribute type. |
Constants Inherited from Octopi::Base
Constructor Summary
This class inherits a constructor from Octopi::Base.
Public Visibility
Public Class Method Summary
find(opts = {}) |
---|
Public Instance Methods Inherited from Octopi::Base
Public Class Method Details
find
public
find(opts = {})
[View source]
10 11 12 13 14 |
# File 'lib/octopi/file_object.rb', line 10 def self.find(opts={}) user, repo, branch, sha = gather_details(opts) self.validate_args(sha => :sha, user => :user, repo => :repo) super [user, repo, sha] end |