class Oshpark::Layer

Public Class Methods

attrs() click to toggle source
# File lib/oshpark/layer.rb, line 3
def self.attrs
  %w| id name gerber_file_url image imported_from width_in_mils height_in_mils |
end

Public Instance Methods

image() click to toggle source
# File lib/oshpark/layer.rb, line 8
def image
  Image.from_json @image
end