Class: Seo::AhrefsApiClient::Response
- Inherits:
-
Struct
- Object
- Struct
- Seo::AhrefsApiClient::Response
- Defined in:
- app/services/seo/ahrefs_api_client.rb
Overview
Response wrapper for consistent interface
Instance Attribute Summary collapse
-
#data ⇒ Object
Returns the value of attribute data.
-
#error ⇒ Object
Returns the value of attribute error.
-
#remaining_units ⇒ Object
Returns the value of attribute remaining_units.
-
#success? ⇒ Object
Returns the value of attribute success?.
Instance Attribute Details
#data ⇒ Object
Returns the value of attribute data
26 27 28 |
# File 'app/services/seo/ahrefs_api_client.rb', line 26 def data @data end |
#error ⇒ Object
Returns the value of attribute error
26 27 28 |
# File 'app/services/seo/ahrefs_api_client.rb', line 26 def error @error end |
#remaining_units ⇒ Object
Returns the value of attribute 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?
26 27 28 |
# File 'app/services/seo/ahrefs_api_client.rb', line 26
def success?
@success?
end
|