Sha256: a6295c7c41cbb80b40ea672ae389b088f18352c0fde362f3861ff3843d9654aa

Contents?: true

Size: 316 Bytes

Versions: 16

Compression:

Stored size: 316 Bytes

Contents

module HackerOne
  module Client
    class Group
      delegate :name, :permissions, to: :attributes

      def initialize(group)
        @group = group
      end

      def id
        @group[:id]
      end

      private

      def attributes
        OpenStruct.new(@group[:attributes])
      end
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
hackerone-client-0.15.0 lib/hackerone/client/group.rb
hackerone-client-0.14.2 lib/hackerone/client/group.rb
hackerone-client-0.14.1 lib/hackerone/client/group.rb
hackerone-client-0.14.0 lib/hackerone/client/group.rb
hackerone-client-0.13.0 lib/hackerone/client/group.rb
hackerone-client-0.12.0 lib/hackerone/client/group.rb
hackerone-client-0.11.0 lib/hackerone/client/group.rb
hackerone-client-0.10.0 lib/hackerone/client/group.rb
hackerone-client-0.9.1 lib/hackerone/client/group.rb
hackerone-client-0.9.0 lib/hackerone/client/group.rb
hackerone-client-0.8.0 lib/hackerone/client/group.rb
hackerone-client-0.7.0 lib/hackerone/client/group.rb
hackerone-client-0.6.0 lib/hackerone/client/group.rb
hackerone-client-0.5.2 lib/hackerone/client/group.rb
hackerone-client-0.5.1 lib/hackerone/client/group.rb
hackerone-client-0.5.0 lib/hackerone/client/group.rb