Class: Contentful::File

Inherits:
Object
  • Object
show all
Defined in:
lib/contentful/file.rb

Overview

An Assets’s file info

Instance Method Summary collapse

Constructor Details

#initialize(json, configuration) ⇒ File

Returns a new instance of File.



4
5
6
7
8
# File 'lib/contentful/file.rb', line 4

def initialize(json, configuration)
  @configuration = configuration

  define_fields!(json)
end