Method: Megam::Subscriptions.show
- Defined in:
- lib/megam/core/subscriptions.rb
.show(p_name, tmp_email = nil, tmp_api_key = nil, tmp_host = nil) ⇒ Object
Load all subscriptions - returns a SubscriptionsCollection don’t return self. check if the Megam::SubscriptionsCollection is returned.
156 157 158 159 |
# File 'lib/megam/core/subscriptions.rb', line 156 def self.show(p_name,tmp_email=nil, tmp_api_key=nil, tmp_host=nil) pre = self.new(tmp_email,tmp_api_key, tmp_host) pre.megam_rest.get_subscription end |