Sha256: f3e478928056d1d8da8085dd6423dc545bdc38d44dae32d07f24cd6f88bbea7c
Contents?: true
Size: 521 Bytes
Versions: 1
Compression:
Stored size: 521 Bytes
Contents
module Nurego class Organization < APIResource include Nurego::APIOperations::List include Nurego::APIOperations::Update def instances Instance.all({:organization => id }, @api_key) end def paymentmethod PaymentMethod.all({:organization => id}, @api_key) end def bills Bill.all({ :organization => id }, @api_key)[:bills] end def entitlements(feature_id = nil) Entitlement.all({:organization => id, :feature_id => feature_id}, @api_key) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
nurego-1.0.1 | lib/nurego/organization.rb |