Class: ComicVine::Resource::Review

Inherits:
ComicVine::Resource show all
Defined in:
lib/comicvine/resource/resources.rb

Overview

Extends ComicVine::Resource to add review resource attributes

Since:

  • 0.1.2

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods inherited from ComicVine::Resource

create_resource, #fetch!, identify_and_update_response, identify_type, #initialize, #method_missing, #resource_type

Constructor Details

This class inherits a constructor from ComicVine::Resource

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class ComicVine::Resource

Instance Attribute Details

#api_detail_urlObject

Since:

  • 0.1.2



212
213
214
# File 'lib/comicvine/resource/resources.rb', line 212

def api_detail_url
  @api_detail_url
end

#idObject

Since:

  • 0.1.2



212
213
214
# File 'lib/comicvine/resource/resources.rb', line 212

def id
  @id
end

#nameObject

Since:

  • 0.1.2



212
213
214
# File 'lib/comicvine/resource/resources.rb', line 212

def name
  @name
end

#site_detail_urlObject

Since:

  • 0.1.2



212
213
214
# File 'lib/comicvine/resource/resources.rb', line 212

def site_detail_url
  @site_detail_url
end

Instance Method Details

#fetchObject

Since:

  • 0.1.2



216
217
218
# File 'lib/comicvine/resource/resources.rb', line 216

def fetch
  self
end