Class: Seo::AhrefsApiClient::Response

Inherits:
Struct
  • Object
show all
Defined in:
app/services/seo/ahrefs_api_client.rb

Overview

Response wrapper for consistent interface

Instance Attribute Summary collapse

Instance Attribute Details

#dataObject

Returns the value of attribute data

Returns:

  • (Object)

    the current value of data



26
27
28
# File 'app/services/seo/ahrefs_api_client.rb', line 26

def data
  @data
end

#errorObject

Returns the value of attribute error

Returns:

  • (Object)

    the current value of error



26
27
28
# File 'app/services/seo/ahrefs_api_client.rb', line 26

def error
  @error
end

#remaining_unitsObject

Returns the value of attribute remaining_units

Returns:

  • (Object)

    the current value of remaining_units



26
27
28
# File 'app/services/seo/ahrefs_api_client.rb', line 26

def remaining_units
  @remaining_units
end

#success?Object

Returns the value of attribute success?

Returns:

  • (Object)

    the current value of success?



26
27
28
# File 'app/services/seo/ahrefs_api_client.rb', line 26

def success?
  @success?
end