Class: Octopi::FileObject

Included Modules

Octopi::Resource

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

VALID

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

error=, property, save

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
Generated on Friday, July 31 2009 at 05:01:56 PM by YARD 0.2.3.2 (ruby-1.8.6).