Method: Line::Bot::V2::Webhook::UnsendDetail.create

Defined in:
lib/line/bot/v2/webhook/model/unsend_detail.rb

.create(args) ⇒ Line::Bot::V2::Webhook::UnsendDetail

Create an instance of the class from a hash

Parameters:

  • args (Hash)

    Hash containing all the required attributes

Returns:



43
44
45
46
# File 'lib/line/bot/v2/webhook/model/unsend_detail.rb', line 43

def self.create(args) # steep:ignore
  symbolized_args = Line::Bot::V2::Utils.deep_symbolize(args)
  return new(**symbolized_args) # steep:ignore
end