Sha256: 68b671ad9c216262b99c41f63a515b386679a6698e27792b2ec37423fbdbb4f3
Contents?: true
Size: 369 Bytes
Versions: 14
Compression:
Stored size: 369 Bytes
Contents
module Almodovar class ResourcePresenter class Serializer attr_reader :resource, :options def initialize(resource, options = {}) @resource = resource @options = options end def options_for_link options.merge(:dont_expand => Array(options[:dont_expand]) << resource.url) end end end end
Version data entries
14 entries across 14 versions & 2 rubygems