Class: Chord::LineItem

Inherits:
Base
  • Object
show all
Defined in:
lib/chord.rb

Instance Attribute Summary

Attributes inherited from Base

#attributes, #id

Instance Method Summary collapse

Methods inherited from Base

all, #base_path, #base_url, base_url, #delete, #expand!, find, #http_options, http_options, #initialize, #method_missing, #update, where

Constructor Details

This class inherits a constructor from Chord::Base

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class Chord::Base

Instance Method Details

#subscription?Boolean

Returns:

  • (Boolean)


236
237
238
# File 'lib/chord.rb', line 236

def subscription?
  subscription_line_items.size > 0
end