class Qubell::Organization

Implements Qubell organization interface

Public Instance Methods

applications() click to toggle source
# File lib/qubell/organization.rb, line 13
def applications
  Qubell::APICall.get("/organizations/#{@id}/applications").map do |app|
    app['organization_id'] = @id
    Qubell::Application.new(app)
  end
end
environments() click to toggle source
# File lib/qubell/organization.rb, line 20
def environments
  Qubell::APICall.get("/organizations/#{@id}/environments").map do |app|
    Qubell::Environment.new(app)
  end
end