Sha256: 530f8e4e0828469b79b192be30cf13bf631c610c09a04c6697c24e456510eb38
Contents?: true
Size: 407 Bytes
Versions: 26
Compression:
Stored size: 407 Bytes
Contents
module Octopi class FileObject < Base attr_accessor :name, :sha, :mode, :type include Resource set_resource_name "tree" resource_path "/tree/show/:id" def self.find(options={}) ensure_hash(options) user, repo, branch, sha = gather_details(options) self.validate_args(sha => :sha, user => :user, repo => :repo) super [user, repo, sha] end end end
Version data entries
26 entries across 26 versions & 4 rubygems