class Textmagic::REST::Number

A Number resource.

@id

@purchased_at

@expire_at

@phone

@status

@country

Hash like this

{
    "id"   => "US",
    "name" => "United States",
}

@user

Hash like this

{
  "id": 11111,
  "username": "johndoe",
  "firstName": "John",
  "lastName": "Doe",
  "status": "A",
  "balance": 13.793,
  "company": "TextMagic",
  "currency": {
  "id": "GBP",
  "htmlSymbol": "£"
},
  "timezone": {
  "id": 2,
  "area": "Pacific",
  "dst": 0,
  "offset": -39600,
  "timezone": "Pacific/Midway"
},
  "subaccountType": "P"
}

Public Instance Methods

refresh() click to toggle source
    # File lib/textmagic-ruby/rest/numbers.rb
146 def refresh
147   raise '`refresh` method is not supported for this resource.'
148 end