class Particle::BuildTarget

Domain model for one Particle Build Target, underlying http api json looks like

{
  "platforms": [
    0,
    8,
    6,
    10
  ],
  "prereleases": [
    0,
    8,
    6,
    10
  ],
  "firmware_vendor": "Particle",
  "version": "0.6.0-rc.2"
},

Public Class Methods

new(client, attributes) click to toggle source
Calls superclass method
# File lib/particle/build_target.rb, line 21
def initialize(client, attributes)
  super(client, attributes)
end
path() click to toggle source
# File lib/particle/build_target.rb, line 26
def self.path
  "v1/build_targets"
end