Class: Phaxio::Resources::Ata::ProvisioningURLs
- Inherits:
-
Object
- Object
- Phaxio::Resources::Ata::ProvisioningURLs
- Defined in:
- lib/phaxio/resources/ata.rb
Overview
A set of provisioning URLs.
Constant Summary collapse
- GRANDSTREAM =
'Grandstream'
- OBI =
'OBi'
- NETGEN =
'Netgen'
Instance Attribute Summary collapse
-
#urls ⇒ Hash<String: String>
The hash of provisioning URLs.
Instance Method Summary collapse
-
#grandstream ⇒ String
The Grandstream provisioning url.
-
#initialize(data) ⇒ ProvisioningURLs
constructor
A new instance of ProvisioningURLs.
-
#netgen ⇒ String
The Netgen provisioning url.
-
#obi ⇒ String
The OBi provisioning url.
Constructor Details
#initialize(data) ⇒ ProvisioningURLs
Returns a new instance of ProvisioningURLs.
92 93 94 |
# File 'lib/phaxio/resources/ata.rb', line 92 def initialize data @urls = data end |
Instance Attribute Details
#urls ⇒ Hash<String: String>
Returns The hash of provisioning URLs.
86 87 88 |
# File 'lib/phaxio/resources/ata.rb', line 86 def urls @urls end |
Instance Method Details
#grandstream ⇒ String
Returns The Grandstream provisioning url.
97 98 99 |
# File 'lib/phaxio/resources/ata.rb', line 97 def grandstream self.urls.fetch(GRANDSTREAM) end |
#netgen ⇒ String
Returns The Netgen provisioning url.
107 108 109 |
# File 'lib/phaxio/resources/ata.rb', line 107 def netgen self.urls.fetch(NETGEN) end |
#obi ⇒ String
Returns The OBi provisioning url.
102 103 104 |
# File 'lib/phaxio/resources/ata.rb', line 102 def obi self.urls.fetch(OBI) end |