Class: GH::MergeCommit

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

Overview

Public: …

Instance Attribute Summary

Attributes inherited from Wrapper

#backend, #options

Instance Method Summary collapse

Methods inherited from Wrapper

[], #[], #frontend, #frontend=, #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



15
16
17
18
19
# File 'lib/gh/merge_commit.rb', line 15

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

#setup(backend, options) ⇒ Object



10
11
12
13
# File 'lib/gh/merge_commit.rb', line 10

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