class BunqRb::AttachmentPublic

AttachmentPublic

Attributes

uuid[R]

Public Class Methods

create(hash = {}) click to toggle source
# File lib/bunq_rb/objects/attachment_public.rb, line 14
def self.create(hash = {})
  response = Client.send_method(:post, url, hash)
  new(response[0]["Uuid"])
end
new(hsh = {}) click to toggle source
# File lib/bunq_rb/objects/attachment_public.rb, line 10
def initialize(hsh = {})
  @uuid = hsh["uuid"]
end
url() click to toggle source
# File lib/bunq_rb/objects/attachment_public.rb, line 19
def self.url
  "/v1/attachment-public"
end