class HackerOne::Client::Bounty

Public Class Methods

new(bounty) click to toggle source
# File lib/hackerone/client/bounty.rb, line 16
def initialize(bounty)
  @bounty = bounty
end

Public Instance Methods

id() click to toggle source
# File lib/hackerone/client/bounty.rb, line 20
def id
  @bounty[:id]
end

Private Instance Methods

attributes() click to toggle source
# File lib/hackerone/client/bounty.rb, line 26
def attributes
  OpenStruct.new(@bounty[:attributes])
end