Sha256: 855ef3777396f627e2112304f19bea799fc155199ce8a4366f92151b98ed8b2d

Contents?: true

Size: 441 Bytes

Versions: 1

Compression:

Stored size: 441 Bytes

Contents

#:enddoc:
module RailsConnector

class WorkspaceDataFromService
  def initialize(data)
    @data = data
  end

  def revision_id
    @data["revision_id"]
  end

  def id
    @data["id"]
  end

  def cachable?
    @data["is_cachable"]
  end

  # remove this method after DynamoCmsBackend has been removed from the Cloud Connector
  def content_cache_id=(id)
    # ignore, since not using content caches
  end
end

end # module RailsConnector

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
infopark_cloud_connector-6.8.0.210.ed204b0 lib/rails_connector/workspace_data_from_service.rb