module Particle::Client::Libraries

Client methods for the Particle firmware library API

@see docs.particle.io/reference/api/#libraries

Public Instance Methods

library(target) click to toggle source

Create a domain model for a firmware library

@param target [String, Hash, Library] A library name, hash of attributes or {Library} object @return [Library] A library object to interact with

# File lib/particle/client/library.rb, line 15
def library(target)
  if target.is_a? Library
    target
  else
    Library.new(self, target)
  end
end