fcoury / octopi

A Ruby interface to GitHub API v2
http://hasmany.info/2009/4/18/ruby-interface-to-github-api
MIT License
216 stars 47 forks source link

Missing attr_accessors in Blob class #33

Closed aaronrussell closed 14 years ago

aaronrussell commented 14 years ago

I've been getting errors using the Blob class when sending the :path attribute ("no attr_accessor set for xxx on Blob"). I believe you should have all the following attr_accessors:

attr_accessor :text, :data, :name, :sha, :size, :mode, :mime_type
radar commented 14 years ago

Hi Aaron,

What is the code to duplicate this issue? As far as I can see, blob data is returned as a string from Github.

radar commented 14 years ago

Add more attr_accessors to Blob - Closed by 237e416520fe934b29a752d0529049fe120f33c7