Class: AthenaHealth::Subscription
- Defined in:
- lib/athena_health/subscription.rb
Instance Method Summary collapse
Instance Method Details
#active? ⇒ Boolean
10 11 12 |
# File 'lib/athena_health/subscription.rb', line 10 def active? @active || status === 'ACTIVE' end |
#events ⇒ Object
6 7 8 |
# File 'lib/athena_health/subscription.rb', line 6 def events @events ||= subscriptions.map{|s| s["eventname"]} end |