Class: DiscourseSubscriptionClient::Subscriptions::Result
- Inherits:
-
Object
- Object
- DiscourseSubscriptionClient::Subscriptions::Result
- Defined in:
- lib/discourse_subscription_client/subscriptions/result.rb
Instance Attribute Summary collapse
-
#products ⇒ Object
Returns the value of attribute products.
-
#resource ⇒ Object
Returns the value of attribute resource.
-
#subscriptions ⇒ Object
Returns the value of attribute subscriptions.
-
#supplier ⇒ Object
Returns the value of attribute supplier.
Instance Method Summary collapse
Instance Attribute Details
#products ⇒ Object
Returns the value of attribute products.
6 7 8 |
# File 'lib/discourse_subscription_client/subscriptions/result.rb', line 6 def products @products end |
#resource ⇒ Object
Returns the value of attribute resource.
6 7 8 |
# File 'lib/discourse_subscription_client/subscriptions/result.rb', line 6 def resource @resource end |
#subscriptions ⇒ Object
Returns the value of attribute subscriptions.
6 7 8 |
# File 'lib/discourse_subscription_client/subscriptions/result.rb', line 6 def subscriptions @subscriptions end |
#supplier ⇒ Object
Returns the value of attribute supplier.
6 7 8 |
# File 'lib/discourse_subscription_client/subscriptions/result.rb', line 6 def supplier @supplier end |
Instance Method Details
#any? ⇒ Boolean
11 12 13 |
# File 'lib/discourse_subscription_client/subscriptions/result.rb', line 11 def any? supplier.present? && resource.present? && subscriptions.present? && products.present? end |