class SalsaLabs::SalsaObject
Base class used for subclasses that can be represented by Salsa Labs concepts that can be returned by getObject or getObjects.
Attributes
attributes[R]
Public Class Methods
new(params)
click to toggle source
# File lib/salsa_labs/salsa_object.rb, line 10 def initialize(params) @attributes = params end
Public Instance Methods
organization_key()
click to toggle source
# File lib/salsa_labs/salsa_object.rb, line 14 def organization_key (attributes['organization_key'] || 0).to_i end