Class: GH::MergeCommit

Inherits:
Wrapper show all
Defined in:
lib/gh/merge_commit.rb

Overview

Public: …

Instance Attribute Summary

Attributes inherited from Wrapper

#backend, #frontend, #options

Instance Method Summary collapse

Methods inherited from Wrapper

#[], [], double_dispatch, #generate_response, #initialize, #inspect, #load, #prefixed, #reset, wraps

Constructor Details

This class inherits a constructor from GH::Wrapper

Instance Method Details

#modify_hash(hash) ⇒ Object



17
18
19
20
21
# File 'lib/gh/merge_commit.rb', line 17

def modify_hash(hash)
  setup_lazy_loading(super)
rescue StandardError => e
  raise Error.new(e, hash)
end

#setup(backend, options) ⇒ Object



12
13
14
15
# File 'lib/gh/merge_commit.rb', line 12

def setup(backend, options)
  @ssl = options[:ssl]
  super
end