Class: SignalWire::REST::Namespaces::RegistryNamespace
- Inherits:
-
Object
- Object
- SignalWire::REST::Namespaces::RegistryNamespace
- Defined in:
- lib/signalwire/rest/namespaces/registry.rb
Overview
10DLC Campaign Registry namespace.
Instance Attribute Summary collapse
-
#brands ⇒ Object
readonly
Returns the value of attribute brands.
-
#campaigns ⇒ Object
readonly
Returns the value of attribute campaigns.
-
#numbers ⇒ Object
readonly
Returns the value of attribute numbers.
-
#orders ⇒ Object
readonly
Returns the value of attribute orders.
Instance Method Summary collapse
-
#initialize(http) ⇒ RegistryNamespace
constructor
A new instance of RegistryNamespace.
Constructor Details
#initialize(http) ⇒ RegistryNamespace
Returns a new instance of RegistryNamespace.
57 58 59 60 61 62 63 |
# File 'lib/signalwire/rest/namespaces/registry.rb', line 57 def initialize(http) base = '/api/relay/rest/registry/beta' @brands = RegistryBrands.new(http, "#{base}/brands") @campaigns = RegistryCampaigns.new(http, "#{base}/campaigns") @orders = RegistryOrders.new(http, "#{base}/orders") @numbers = RegistryNumbers.new(http, "#{base}/numbers") end |
Instance Attribute Details
#brands ⇒ Object (readonly)
Returns the value of attribute brands.
55 56 57 |
# File 'lib/signalwire/rest/namespaces/registry.rb', line 55 def brands @brands end |
#campaigns ⇒ Object (readonly)
Returns the value of attribute campaigns.
55 56 57 |
# File 'lib/signalwire/rest/namespaces/registry.rb', line 55 def campaigns @campaigns end |
#numbers ⇒ Object (readonly)
Returns the value of attribute numbers.
55 56 57 |
# File 'lib/signalwire/rest/namespaces/registry.rb', line 55 def numbers @numbers end |
#orders ⇒ Object (readonly)
Returns the value of attribute orders.
55 56 57 |
# File 'lib/signalwire/rest/namespaces/registry.rb', line 55 def orders @orders end |