Method: Contentstack::ContentType#initialize
- Defined in:
- lib/contentstack/content_type.rb
#initialize(object) ⇒ ContentType
Returns a new instance of ContentType.
29 30 31 |
# File 'lib/contentstack/content_type.rb', line 29 def initialize(object) @attributes = object.symbolize_keys end |