Sha256: a8baa789b3920aeb86873b0858ab2f949c08613b05c754f408c031519275aae7
Contents?: true
Size: 374 Bytes
Versions: 7
Compression:
Stored size: 374 Bytes
Contents
class Enceladus::Cast < Enceladus::ApiResource RESOURCE_ATTRIBUTES = [:cast_id, :character, :credit_id, :id, :name, :order, :profile_path].map(&:freeze).freeze attr_accessor *RESOURCE_ATTRIBUTES # Returns an array containing URL's (as strings) for cast images. def profile_urls Enceladus::Configuration::Image.instance.url_for("profile", profile_path) end end
Version data entries
7 entries across 7 versions & 1 rubygems