class Particle::Library

Domain model for a firmware library

Public Class Methods

new(client, attributes) click to toggle source
Calls superclass method
# File lib/particle/library.rb, line 7
def initialize(client, attributes)
  super(client, attributes)
  if attributes.is_a? String
    @attributes = { name: attributes }
  end
end