class Bunq::AttachmentPublic
Public Class Methods
new(client, id)
click to toggle source
# File lib/bunq/attachment_public.rb, line 5 def initialize(client, id) @resource = Bunq::Resource.new(client, "/v1/attachment-public/#{id}") end
Public Instance Methods
show()
click to toggle source
# File lib/bunq/attachment_public.rb, line 9 def show @resource.with_session { @resource.get }['Response'] end