Class: Toybox::Communications::OAuthMessage

Inherits:
Message show all

Overview

An OAuthMessage received by the callback registered in registerForOAuthMessages().

Unlike the data in the Message parent class, data in an OAuthMessage should always be a Dictionary.

Since:

  • 1.3.0

Instance Attribute Summary collapse

Attributes inherited from Message

data

Instance Method Summary collapse

Methods inherited from Lang::Object

equals, hashCode, method, toString, weak

Constructor Details

initializeOAuthMessage

Constructor

Since:

  • 1.3.0


3432
3433
# File 'Monkeybrains.rb', line 3432

def initialize()
end

Instance Attribute Details

responseCodeToybox::Lang::Number

An HTTP response code (positive value) or BLE error code (negative value).

Returns:

Since:

  • 1.3.0


3438
3439
3440
# File 'Monkeybrains.rb', line 3438

def responseCode
  @responseCode
end