Skip to content

Commit 60b32b0

Browse files
authored
Merge pull request #35 from phaxio/add-mac-address
add mac address to ATA
2 parents 786b307 + f1bedcd commit 60b32b0

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

lib/phaxio/resources/ata.rb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,14 +20,17 @@ class Ata < Resource
2020
# @return [String] The domain for the ATA.
2121
# @!attribute domain
2222

23+
# @return [String] The mac address for the ATA.
24+
# @!attribute mac_address
25+
2326
# @return [String] The username for the ATA.
2427
# @!attribute uername
2528

2629
# @return [String] The password for the ATA.
2730
# @!attribute password
2831

2932
has_normal_attributes %w[
30-
id name description user_phone_number domain username password
33+
id name description user_phone_number domain username password mac_address
3134
]
3235

3336
# A reference to an ATA. This is returned by certain actions which don't
@@ -119,6 +122,7 @@ def get id, params = {}
119122
# - *name* [String] - A name used to identify the ATA.
120123
# - *description* [String] - A longer description of the ATA.
121124
# - *domain* [String] - A domain for the ATA.
125+
# - *mac_address* [String] - A mac address for the ATA.
122126
# @return [Phaxio::Resources::Ata]
123127
# The updated ATA.
124128
# @raise [Phaxio::Error::PhaxioError]

0 commit comments

Comments
 (0)