Class: ComicVine::Resource::Promo

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

Overview

Extends ComicVine::Resource to add promo resource attributes

Since:

  • 0.1.2

Instance Attribute Summary collapse

Method Summary

Methods inherited from ComicVine::Resource

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

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



129
130
131
# File 'lib/comicvine/resource/resources.rb', line 129

def api_detail_url
  @api_detail_url
end

#date_addedObject

Since:

  • 0.1.2



129
130
131
# File 'lib/comicvine/resource/resources.rb', line 129

def date_added
  @date_added
end

#deckObject

Since:

  • 0.1.2



129
130
131
# File 'lib/comicvine/resource/resources.rb', line 129

def deck
  @deck
end

#idObject

Since:

  • 0.1.2



129
130
131
# File 'lib/comicvine/resource/resources.rb', line 129

def id
  @id
end

#imageObject

Since:

  • 0.1.2



129
130
131
# File 'lib/comicvine/resource/resources.rb', line 129

def image
  @image
end

Since:

  • 0.1.2



129
130
131
# File 'lib/comicvine/resource/resources.rb', line 129

def link
  @link
end

#nameObject

Since:

  • 0.1.2



129
130
131
# File 'lib/comicvine/resource/resources.rb', line 129

def name
  @name
end

#resource_typeObject

Since:

  • 0.1.2



129
130
131
# File 'lib/comicvine/resource/resources.rb', line 129

def resource_type
  @resource_type
end

#userObject

Since:

  • 0.1.2



129
130
131
# File 'lib/comicvine/resource/resources.rb', line 129

def user
  @user
end