class Ey::Core::Client::Blueprint

Public Instance Methods

destroy() click to toggle source
# File lib/ey-core/models/blueprint.rb, line 27
def destroy
  self.connection.destroy_blueprint("id" => self.identity)
end
save!() click to toggle source
# File lib/ey-core/models/blueprint.rb, line 14
def save!
  requires :id

  params = {
    "id"        => self.id,
    "blueprint" => {
      "name" => self.name
    }
  }

  merge_attributes(self.connection.update_blueprint(params).body["blueprint"])
end