Skip to content

Commit 1ee6b75

Browse files
committed
Merge pull request #6 from messagebird/add_details_to_hlr
Add missing details attribute to HLR
2 parents 72ae098 + f98026d commit 1ee6b75

3 files changed

Lines changed: 4 additions & 2 deletions

File tree

examples/lookup_hlr.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
puts " msisdn : #{hlr.msisdn}"
3333
puts " reference : #{hlr.reference}"
3434
puts " status : #{hlr.status}"
35+
puts " details : #{hlr.details}"
3536
puts " createdDatetime : #{hlr.createdDatetime}"
3637
puts " statusDatetime : #{hlr.statusDatetime}"
3738
puts

examples/lookup_hlr_create.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@
3232
puts " msisdn : #{hlr.msisdn}"
3333
puts " reference : #{hlr.reference}"
3434
puts " status : #{hlr.status}"
35+
puts " details : #{hlr.details}"
3536
puts " createdDatetime : #{hlr.createdDatetime}"
3637
puts " statusDatetime : #{hlr.statusDatetime}"
3738
puts

lib/messagebird/hlr.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
module MessageBird
66
class HLR < MessageBird::Base
7-
attr_accessor :id, :href, :msisdn, :network, :reference, :status,
8-
:createdDatetime, :statusDatetime
7+
attr_accessor :id, :href, :msisdn, :network, :reference, :status,
8+
:details, :createdDatetime, :statusDatetime
99

1010
def createdDatetime=(value)
1111
@createdDatetime = value_to_time(value)

0 commit comments

Comments
 (0)