class Bunq::NotificationFilterUrl
Public Class Methods
new(parent_resource)
click to toggle source
# File lib/bunq/notification_filter_url.rb, line 6 def initialize(parent_resource) @resource = parent_resource.append('/notification-filter-url') end
Public Instance Methods
create(notification_filters)
click to toggle source
# File lib/bunq/notification_filter_url.rb, line 10 def create(notification_filters) @resource.with_session { @resource.post({notification_filters: notification_filters}) }['Response'] end
show()
click to toggle source
# File lib/bunq/notification_filter_url.rb, line 14 def show @resource.with_session { @resource.get }['Response'] end