Class: Peddler::APIs::Feeds20210630::CreateFeedDocumentSpecification

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/apis/feeds_2021_06_30.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#content_typeString (readonly)

Returns the value of attribute content_type.

Returns:

  • (String)


31
32
33
# File 'sig/peddler/apis/feeds_2021_06_30.rbs', line 31

def content_type
  @content_type
end

Class Method Details

.[](content_type:) ⇒ Peddler::APIs::Feeds20210630::CreateFeedDocumentSpecification .[](arg0) ⇒ Peddler::APIs::Feeds20210630::CreateFeedDocumentSpecification



24
25
# File 'sig/peddler/apis/feeds_2021_06_30.rbs', line 24

def self.[]: (content_type: String) -> Peddler::APIs::Feeds20210630::CreateFeedDocumentSpecification
| (String) -> Peddler::APIs::Feeds20210630::CreateFeedDocumentSpecification

.members[ :content_type ]

Returns:

  • ([ :content_type ])


27
# File 'sig/peddler/apis/feeds_2021_06_30.rbs', line 27

def self.members: () -> [ :content_type ]

.new(content_type:) ⇒ Peddler::APIs::Feeds20210630::CreateFeedDocumentSpecification .new(arg0) ⇒ Peddler::APIs::Feeds20210630::CreateFeedDocumentSpecification



22
23
# File 'sig/peddler/apis/feeds_2021_06_30.rbs', line 22

def self.new: (content_type: String) -> Peddler::APIs::Feeds20210630::CreateFeedDocumentSpecification
| (String) -> Peddler::APIs::Feeds20210630::CreateFeedDocumentSpecification

.parsePeddler::APIs::Feeds20210630::CreateFeedDocumentSpecification

Parameters:

  • (Hash[String | Symbol, untyped])
  • (Object)

Returns:



29
# File 'sig/peddler/apis/feeds_2021_06_30.rbs', line 29

def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::Feeds20210630::CreateFeedDocumentSpecification

Instance Method Details

#members[ :content_type ]

Returns:

  • ([ :content_type ])


33
# File 'sig/peddler/apis/feeds_2021_06_30.rbs', line 33

def members: () -> [ :content_type ]

#to_h{ content_type: String }

Returns:

  • ({ content_type: String })


34
# File 'sig/peddler/apis/feeds_2021_06_30.rbs', line 34

def to_h: () -> { content_type: String }