Class: Particle::BuildTarget

Inherits:
Model
  • Object
show all
Defined in:
lib/particle/build_target.rb

Overview

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"
},

Instance Method Summary collapse

Methods inherited from Model

attribute_reader, #attributes, #get_attributes, #id, #inspect

Constructor Details

#initialize(client, attributes) ⇒ BuildTarget

Returns a new instance of BuildTarget.



21
22
23
# File 'lib/particle/build_target.rb', line 21

def initialize(client, attributes)
  super(client, attributes)
end