class Iyzi::Requests::CardStorage

Attributes

type[RW]

Public Class Methods

add(options) click to toggle source
# File lib/iyzi/requests/card_storage.rb, line 7
def add(options)
  new(:add, Endpoints::HTTP_POST, Endpoints::CARD_STORAGE_ADD, options)
end
delete(options) click to toggle source
# File lib/iyzi/requests/card_storage.rb, line 11
def delete(options)
  new(:delete, Endpoints::HTTP_DELETE, Endpoints::CARD_STORAGE_DELETE, options)
end
list(options) click to toggle source
# File lib/iyzi/requests/card_storage.rb, line 15
def list(options)
  new(:list, Endpoints::HTTP_POST, Endpoints::CARD_STORAGE_LIST, options)
end
new(type, method, path, options = {}) click to toggle source
Calls superclass method Iyzi::Request::new
# File lib/iyzi/requests/card_storage.rb, line 20
def initialize(type, method, path, options = {})
  @type = type
  super(method, path, options)
end

Public Instance Methods

to_pki() click to toggle source
# File lib/iyzi/requests/card_storage.rb, line 25
def to_pki
  PkiBuilders::CardStorage.new(iyzi_options).request_string
end