Class: Seam::Resources::AccessGrant::Warnings::OverprovisionedAccess::FailedDevices

Inherits:
BaseResource
  • Object
show all
Defined in:
lib/seam/resources/access_grant.rb

Instance Attribute Summary collapse

Attributes inherited from BaseResource

#client, #data

Method Summary

Methods inherited from BaseResource

#[], aliased_accessor, attribute_aliases, date_accessor, discriminated_by, #initialize, #inspect, load_from_response, resource_accessor, resource_accessors, resource_list_accessor, resource_list_accessors, #update_from_response

Constructor Details

This class inherits a constructor from Seam::Resources::BaseResource

Instance Attribute Details

#device_idString

Device whose access code could not be revoked.

Returns:

  • (String)


154
155
156
# File 'lib/seam/resources/access_grant.rb', line 154

def device_id
  @device_id
end

#error_codeString

Reason the access code could not be revoked (e.g. offline_access_code_not_revocable).

Returns:

  • (String)


157
158
159
# File 'lib/seam/resources/access_grant.rb', line 157

def error_code
  @error_code
end

#messageString

Human-readable description of why revocation failed.

Returns:

  • (String)


160
161
162
# File 'lib/seam/resources/access_grant.rb', line 160

def message
  @message
end