Class: CardDB::ScanWebhookState

Inherits:
Resource
  • Object
show all
Defined in:
lib/carddb/collection.rb

Instance Attribute Summary

Attributes inherited from Resource

#client, #data

Instance Method Summary collapse

Methods inherited from Resource

#[], #initialize, #key?, #to_h, #to_json

Constructor Details

This class inherits a constructor from CardDB::Resource

Instance Method Details

#attempt_countObject



977
# File 'lib/carddb/collection.rb', line 977

def attempt_count = data['attemptCount']

#configured?Boolean

Returns:

  • (Boolean)


973
# File 'lib/carddb/collection.rb', line 973

def configured? = !!data['configured']

#delivered_atObject



980
# File 'lib/carddb/collection.rb', line 980

def delivered_at = parse_time(data['deliveredAt'])

#last_attempt_atObject



979
# File 'lib/carddb/collection.rb', line 979

def last_attempt_at = parse_time(data['lastAttemptAt'])

#last_errorObject



982
# File 'lib/carddb/collection.rb', line 982

def last_error = data['lastError']

#last_status_codeObject



981
# File 'lib/carddb/collection.rb', line 981

def last_status_code = data['lastStatusCode']

#latest_delivery_idObject



975
# File 'lib/carddb/collection.rb', line 975

def latest_delivery_id = data['latestDeliveryId']

#next_attempt_atObject



978
# File 'lib/carddb/collection.rb', line 978

def next_attempt_at = parse_time(data['nextAttemptAt'])

#statusObject



976
# File 'lib/carddb/collection.rb', line 976

def status = data['status']

#urlObject



974
# File 'lib/carddb/collection.rb', line 974

def url = data['url']