Sha256: 1af1966d053247eba30be752d726373efd65ed59c54e7418707504393f6316c3

Contents?: true

Size: 669 Bytes

Versions: 5

Compression:

Stored size: 669 Bytes

Contents

# frozen_string_literal: true

module Telnyx
  class SimCardGroup < APIResource
    extend APIOperations::List
    extend APIOperations::Create
    include APIOperations::Delete
    include APIOperations::Save
    extend APIOperations::NestedResource

    ACTIONS = %w[set_private_wireless_gateway remove_private_wireless_gateway].freeze
    ACTIONS.each do |action|
      nested_resource_class_methods action,
                                    path: %W[actions #{action}],
                                    operations: [:create],
                                    instance_methods: { create: action }
    end

    OBJECT_NAME = "sim_card_group".freeze
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
telnyx-3.0.5 lib/telnyx/sim_card_group.rb
telnyx-3.0.4 lib/telnyx/sim_card_group.rb
telnyx-3.0.3 lib/telnyx/sim_card_group.rb
telnyx-3.0.2 lib/telnyx/sim_card_group.rb
telnyx-3.0.0 lib/telnyx/sim_card_group.rb