Class: Peddler::Feeds::ListingsFeedSchema::Patch

Inherits:
Data
  • Object
show all
Defined in:
sig/peddler/feeds/listings_feed_schema.rbs

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#opString (readonly)

Returns the value of attribute op.

Returns:

  • (String)


72
73
74
# File 'sig/peddler/feeds/listings_feed_schema.rbs', line 72

def op
  @op
end

#pathString (readonly)

Returns the value of attribute path.

Returns:

  • (String)


73
74
75
# File 'sig/peddler/feeds/listings_feed_schema.rbs', line 73

def path
  @path
end

#valueArray[untyped]? (readonly)

Returns the value of attribute value.

Returns:

  • (Array[untyped], nil)


74
75
76
# File 'sig/peddler/feeds/listings_feed_schema.rbs', line 74

def value
  @value
end

Class Method Details

.[](op:, path:, value:) ⇒ Peddler::Feeds::ListingsFeedSchema::Patch .[](arg0, arg1, arg2) ⇒ Peddler::Feeds::ListingsFeedSchema::Patch

Overloads:



65
66
# File 'sig/peddler/feeds/listings_feed_schema.rbs', line 65

def self.[]: (op: String, path: String, ?value: Array[untyped]?) -> Peddler::Feeds::ListingsFeedSchema::Patch
| (String, String, Array[untyped]?) -> Peddler::Feeds::ListingsFeedSchema::Patch

.members[ :op, :path, :value ]

Returns:

  • ([ :op, :path, :value ])


68
# File 'sig/peddler/feeds/listings_feed_schema.rbs', line 68

def self.members: () -> [ :op, :path, :value ]

.new(op:, path:, value:) ⇒ Peddler::Feeds::ListingsFeedSchema::Patch .new(arg0, arg1, arg2) ⇒ Peddler::Feeds::ListingsFeedSchema::Patch

Overloads:



63
64
# File 'sig/peddler/feeds/listings_feed_schema.rbs', line 63

def self.new: (op: String, path: String, ?value: Array[untyped]?) -> Peddler::Feeds::ListingsFeedSchema::Patch
| (String, String, Array[untyped]?) -> Peddler::Feeds::ListingsFeedSchema::Patch

.parsePeddler::Feeds::ListingsFeedSchema::Patch

Parameters:

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

Returns:



70
# File 'sig/peddler/feeds/listings_feed_schema.rbs', line 70

def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::Feeds::ListingsFeedSchema::Patch

Instance Method Details

#members[ :op, :path, :value ]

Returns:

  • ([ :op, :path, :value ])


76
# File 'sig/peddler/feeds/listings_feed_schema.rbs', line 76

def members: () -> [ :op, :path, :value ]

#to_h{ op: String, path: String, value: Array[untyped]? }

Returns:

  • ({ op: String, path: String, value: Array[untyped]? })


77
# File 'sig/peddler/feeds/listings_feed_schema.rbs', line 77

def to_h: () -> { op: String, path: String, value: Array[untyped]? }